package com.michael.study.bitmap

import android.content.Context
import android.graphics.BitmapRegionDecoder
import android.graphics.Rect
import android.util.AttributeSet
import android.view.View

/**
 * Description:
 *
 * Created by liuguoquan on 2020/7/28 23:50.
 */
public class LargeImageView(context: Context?, attrs: AttributeSet?, defStyleAttr: Int) :
    View(context, attrs, defStyleAttr) {

    constructor(context: Context?, attrs: AttributeSet?) : this(context, attrs, 0) {

    }

    constructor(context: Context?) : this(context, null) {

    }

    private var mDecoder: BitmapRegionDecoder? = null
    private var mImageWidth = 0
    private var mImageHeight = 0

    @Volatile
    private var rect = Rect()


}